<?php
if(!defined('IN_KKFRAME')) exit();
$nav = array('我的头像' => 'avatar.php');
include template('header');
?>

<div class="page-headers"><h1>我的头像</h1></div>

<div class="postlist">
<div class="post na">
<img src="<?php echo avatar($_K['uid']); ?>" class="avatar">
<div class="contents clearfix">
<p class="info">1 楼 - <?php echo $_K['member']['username']; ?> 发表于 刚刚</p>头像效果演示<br>您的头像将显示在左侧</div></div>
</div><br>

<div class="page-headers"><h1>修改头像</h1></div>
<form method="post" action="avatar.php" enctype="multipart/form-data">
<p>支持格式：jpg、gif、png</p>
<p>大小限制：小于 50 KB</p>
<p><input type="file" style="width: 350px" name="avatar"></p>
<p><input type="submit" class="g-button g-button-submit" style="width: 80px" value="确认修改" /></p>
</form>

<?php
include template('footer');